package core.hxl;

import core.hxl.dynamicdatasource.DynamicDataSourceRegister;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableEurekaClient
@Import({DynamicDataSourceRegister.class})
@EnableTransactionManagement
@MapperScan("core.hxl.dao")
public class DbServerApp {

    public static void main(String[] args) {
        SpringApplication.run(DbServerApp.class,args);
    }

}
